package com.example.wacoffee_user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wacoffee_user.pojo.dto.couponDto;
import com.example.wacoffee_user.pojo.entity.coupon;
import com.example.wacoffee_user.pojo.vo.couponOrderVo;

import java.time.LocalDateTime;
import java.util.List;

public interface ICouponService extends IService<coupon> {
    void addCouponToUser(Integer id);

    void createCouponOrder(couponOrderVo couponOrderVo);

    List<couponDto> getAllCoupon(LocalDateTime now, Integer currentId);
}
